Email Template

The Activation Server provides the template that allows you to customize the subject and body content for sending the email containing the Activation Key to the user. The default email template files are saved in the following folder:

 

\ACTIVATIONSERVER\PRECOMPILEDWEB\MANAGER\ EMAILSUBJECT.TXT

 

\ACTIVATIONSERVER\PRECOMPILEDWEB\MANAGER\EMAILBODY.TXT

 

You can also create a different template per product (or upgrade) by saving the email template files to a subfolder. Then, specify the email template folder in the Products (or Upgrades) table.

EmailSubject.txt

Below is the subject line of the default email template.

 

Your Activation Key for <ProductTitle> (Order No. <PurchaseID>)

EmailBody.txt

Below is the body content of the default email template.

 

Dear <FirstName> <LastName>,

 

Thank you for choosing <ProductTitle>.

Your order no. <PurchaseID> has been processed successfully.

Below is your Activation Key:

<ActivationKey>

To complete the activation, start the program and enter the above Activation Key in the 'Registration & Activation' dialog box.

If you have any question or need assistance, please feel free to contact us.

 

Best Regards,

Customer Support

Template Tags

The template tags allow you to get the account information to show in your email template. They are provided in two categories. The information tags reference the fields in the Accounts, Products, and Upgrades tables. The license tags reference the current Key Properties decoded from the product’s MasterLicense, or the account’s MasterLicenseCust (if there is an upgrade). 

 

Information Tags

<FirstName>

The account’s first name

<LastName>

The account’s last name

<ProductTitle>

The full product tile of the purchased product

<PurchaseID>

The account’s purchase ID (or transaction ID)

<ActivationKey>

The account’s Activation Key

<MaxActivation>

The maximum number of activations allowed

<ActivationCount>

The current number of activations used

<ProductURL>

The download URL of the product

<UpgradeTitle>

The full upgrade tile of the most recent upgrade

<UpgradeURL>

The download URL of the most recent upgrade

 

License Tags

<Lic.MaxExec>

The maximum number allowed to execute the protected program.

<Lic.MaxDay>

The maximum number of days allowed to run the protected program.

<Lic.MaxUser>

The maximum number of concurrent network users allowed to use the Network Key.

<Lic.ExpDay>

The expiration day.

<Lic.ExpMonth>

The expiration month.

<Lic.ExpYear>

The expiration year.

<Lic.StartDay>

The start day.

<Lic.StartMonth>

The start month.

<Lic.StartYear>

The start year.

 

You can also add more information tags in the Web.Config file by referencing the fields in the Accounts and Products tables. Below is an example.

 

          <add key="Field_1" value="ActivationKey"/>

          <add key="Field_2" value="ProductTitle"/>

          <add key="Field_3" value="PurchaseID"/>

          <add key="Field_4" value="MaxActivation"/>

          <add key="Field_5" value="ActivationCount"/>

          <add key="Field_6" value="FirstName"/>

          <add key="Field_7" value="LastName"/>

          <add key="Field_8" value="ProductURL"/>

          <add key="Field_9" value="UpgradeTitle"/>

          <add key="Field_10" value="UpgradeURL"/>